package com.group525.cloudef.entity.user;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 
 * </p>
 *
 * @author group525
 * @since 2023-05-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("u_hazard")
@Component
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Hazard对象", description="危急值信息")
public class UHazard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "序号",hidden = true)
    private Integer no;

    @ApiModelProperty(value = "患者id",required = true)
    private Long userId;

    @ApiModelProperty(value = "医生id",required = true)
    private Long doctorId;

    @ApiModelProperty(value = "危急值",required = true)
    private String hazard;

    @ApiModelProperty(value = "备注",required = true)
    private String info;

    @ApiModelProperty(value = "是否已报告")
    private Integer tags;

    @ApiModelProperty(value = "处理时间",required = true)
    private Date time;


}
